package com.zto.security.core.validate.code;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * 校验码生成器接口
 * Created by xingyuchao on 2017/12/19.
 *
 */
public interface ValidateCodeGenerator {

	/**
     * 生成校验码
	 * @param request
	 * @return
	 */
	ImageCode generate(ServletWebRequest request);
	
}